libxl: autogenerate _libxl_types.h
authorIan Campbell <ian.campbell@citrix.com>
Thu, 19 Aug 2010 14:15:55 +0000 (15:15 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 19 Aug 2010 14:15:55 +0000 (15:15 +0100)
commit735f084c0f41c313c07bcd345f0abf2850e90c4e
treecd09ac22fbf4322a7159bc031b8729982333eee8
parent9d8fb61af7f770c9d72f9be506ad2c44b9c58794
libxl: autogenerate _libxl_types.h

The libxl interface types are represented by a simple python data
structure (which could be parsed from a bespoke language in the
future).

This will allow the autogeneration of functions to free the component
members of the libxl types. In the future it may also enable auto
generation of type marshalling code for language bindings.

The generated file should be identical to before with the exception of
the "DO NOT EDIT" header.

It was unfortunately necessary to add explcit an dependency on
_libxl_types.h (indirectly via libxl.h) to all C files since the
autogenerated dependencies are not available in time.

[PATCH 04 of 16 of
 libxl: autogenerate type definitions and destructor functions]

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/Makefile
tools/libxl/_libxl_types.h [deleted file]
tools/libxl/gentypes.py [new file with mode: 0644]
tools/libxl/idl.txt [new file with mode: 0644]
tools/libxl/libxl.idl [new file with mode: 0644]
tools/libxl/libxltypes.py [new file with mode: 0644]